package cn.sh.library.mgts.service.impl;

public class Snippet {
	public static void main(String[] args) {
//		if(!StringUtils.isEmpty(searchBean.getTitleSort())) {
//		    		if("0".equals(searchBean.getTitleSort())) {
//		    			searchSourceBuilder.sort(new FieldSortBuilder("@graph.title.@value.keyword").order(SortOrder.ASC));
//		    		}
//		    		if("1".equals(searchBean.getTitleSort())) {
//		    			searchSourceBuilder.sort(new FieldSortBuilder("@graph.title.@value.keyword").order(SortOrder.DESC));
//		    		}
//		    	}
//		    	if(!StringUtils.isEmpty(searchBean.getPersonSort())) {
//		    		if("0".equals(searchBean.getPersonSort())) {
//		    			searchSourceBuilder.sort(new FieldSortBuilder("@graph.personName.@value.keyword").order(SortOrder.ASC));
//		    		}
//		    		if("1".equals(searchBean.getPersonSort())) {
//		    			searchSourceBuilder.sort(new FieldSortBuilder("@graph.personName.@value.keyword").order(SortOrder.DESC));
//		    		}
//		    	}
	}
}

